package com.bdc.memory.dao;

import com.bdc.memory.dao.impl.IMemoryDaoImpl;
import com.bdc.memory.domain.MemoryInfo;
import com.google.inject.ImplementedBy;

import java.util.List;

/**
 * User: shawn
 * Date: 2011-6-20
 * Time: 20:53:53
 */

@ImplementedBy(IMemoryDaoImpl.class)
public interface IMemoryDao {

    public void addMemory(MemoryInfo info);

    public void delMemory(long recordId);

    public List<MemoryInfo> getMemoryList(long recordId);

    public List<MemoryInfo> getMemoryList(long userId, long time);

    public List<MemoryInfo> getMemoryListOrderBySDay(long recordId);
}
